libxl: event tests: test_timedereg: Fix rc handling
authorIan Jackson <ian.jackson@eu.citrix.com>
Thu, 9 Jul 2015 17:16:25 +0000 (18:16 +0100)
committerIan Jackson <Ian.Jackson@eu.citrix.com>
Wed, 15 Jul 2015 10:40:44 +0000 (11:40 +0100)
commitd491d819d3994032360ed5f1117ab71c1a6a765a
treeaa33b4f1955d2f5cec6900beb57efab81626a5fb
parentc544fd79f7cc58f01ef83bb16d710b7acdee4b8c
libxl: event tests: test_timedereg: Fix rc handling

In 31c836f4 "libxl: events: Permit timeouts to signal ao abort",
timeout callbacks take an extra rc argument.

In that patch the wrong assertion is made about the rc in
test_timedereg's `occurs' callback.  Fix this to make the test pass
again.

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_test_timedereg.c